
import layout from '@/views/notebook/module/Layout'
export default [
  {
    path: '/notebook',
    name: 'notebook',
    component: () => import('@/views/notebook/lis'),
    affiliation: 'main',
    meta: { title: '深度算法管理', icon: 'icon3', name: 'notebook' },
  },
  {
    path: '/notebook/detail',
    name: 'notebookdetail',
    component: () => import('@/views/notebook/detail'),
    // affiliation: 'main',
    meta: { title: '算法训练', icon: 'icon3', name: 'notebook' },
  },
  {
    path: '/notebook',
    name: 'notebook',
    component: layout,
    // affiliation: 'main',
    meta: { title: '算法训练', icon: 'icon3', name: 'notebook' },
    children: [
      {
        path: 'code',
        component: () => import('@/views/notebook/code'),
        name: 'notebookcode',
        meta: {
          title: '概览',
          icon: 'nav-menu-icon1',
          affiliation: "notebook"
        }
      },
      {
        path: 'file',
        component: () => import('@/views/notebook/file'),
        name: 'notebookfile',
        meta: {
          title: '文件',
          icon: 'nav-menu-icon1',
          affiliation: "notebook"
        }
      },
      {
        path: 'metrics',
        component: () => import('@/views/notebook/metrics'),
        name: 'notebookmetrics',
        meta: {
          title: '监控',
          icon: 'nav-menu-icon1',
          affiliation: "notebook"
        }
      },
      {
        path: 'log',
        component: () => import('@/views/notebook/log'),
        name: 'notebooklog',
        meta: {
          title: '日志',
          icon: 'nav-menu-icon1',
          affiliation: "notebook"
        }
      },

      // {
      //   path: 'webssh',
      //   component: () => import('@/views/notebook/webssh'),
      //   name: 'notebookwebssh',
      //   meta: { 
      //     title: 'webssh', 
      //     icon: 'nav-menu-icon1', 
      //     affiliation: "notebook" 
      //   }
      // }
      // {
      //   path: 'podUrl',
      //   component: () => import('@/views/notebook/podUrl'),
      //   name: 'notebookPodUrl',
      //   meta: {
      //     title: '节点信息',
      //     icon: 'nav-menu-icon1',
      //     affiliation: "notebook"
      //   }
      // },
      {
        path: 'ssh',
        component: () => import('@/views/notebook/ssh'),
        name: 'notebookssh',
        meta: {
          title: 'ssh',
          icon: 'nav-menu-icon1',
          affiliation: "notebook"
        }
      }

    ]
  },
]
